package com.yangoxix.lovegoing_admin.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yangoxix.common.utils.PageUtils;
import com.yangoxix.common.utils.Query;

import com.yangoxix.lovegoing_admin.dao.AudituserDao;
import com.yangoxix.lovegoing_admin.entity.AudituserEntity;
import com.yangoxix.lovegoing_admin.service.AudituserService;


@Service("audituserService")
public class AudituserServiceImpl extends ServiceImpl<AudituserDao, AudituserEntity> implements AudituserService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<AudituserEntity> page = this.page(
                new Query<AudituserEntity>().getPage(params),
                new QueryWrapper<AudituserEntity>()
        );

        return new PageUtils(page);
    }

}
